<?php include 'inc_top.php';?>
		
		<style type="text/css">
			.h2-name{text-align:center}
		</style>
		<h2 class="h2-name">请选择卷子</h2>
		<div class="btn-group-vertical center-block">
			<!--a type="button" href="http://www.baidu.com" class="btn btn-default">1</a-->
  			<?php 
  				$str = "";
  				foreach($exam as $v){
  					$str = "<a type=\"button\" href=\"".base_url()."index.php/Exam/getExamById/".$v['classid']."\" class=\"btn btn-default\">".$v['exam_name']."</a>";
  				}
  				echo $str;
  			?>
		</div>

<?php include 'inc_bottom.php';?>